<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    // some:只要其中一个为true，就会返回true的
    // every:方法必须所有都返回true才会返回true，
    // every:一假即假
    // some:一真即真 
var arr = [1,3,5,17,9,10]
;
let result = arr.every((value, index ,array )=> {
console.log(value);
if (value< 10){
    return true;

}
});
console.log(result);
</script>
</body>
</html>